package com.yunhe.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author 乔冰冰
 * @version 1.0.0
 * @date 2017年5月26日 上午9:15:52
 */
public class Cars implements Serializable {
	private static final long serialVersionUID = 1L;
	private String carid;// 车辆编号
	private String carcode;// 车辆号码
	
	private String carcolor;// 车辆颜色
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date buydate;// 购买日期
	private String enginenum;// 发动机号
	private String framenum;// 车架号码
	private String cartype;// 车辆类型
	private String carbrand;// 车辆品牌
	private String carbrandtype;// 品牌型号

	
  
	private String picid;// 车辆图片

	private Integer isauto;// 自动手动
	private String enginesize;// 排量大小
	private Integer seatnum;// 座位数量
	private String facetype;// 外观类型
	private Double totalmile;// 车辆里程
	private int hadillegal;// 现有违章
	private String insurer;// 投保单位
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date insurancetime;// 保险时间
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date yearcheck;// 年检时间
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date maintaintime;// 保养时间
	private double maintainmile;// 保养里程
	private Integer hadaccident;// 事故车辆
	private Integer isbadrepair;// 是否大修
	private int isfakemile;// 伪造里程
	private int safelevel;// 安全系数
	private double carprice;// 车辆估值
	private String evaluater;// 评估人员
	private int carstate;// 车辆状态
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date addtime;// 添加时间

	private double dayprice; // 日租价格
	private double basicinsure; // 基本保险
	private double totalprice; // 价格总计

	private String name; // 车主姓名
	private String mobile; // 车主手机
	private String clientid; // 客户编号
	private String idcard; // 客户身份证号

	private String uid; // 账户编号
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date contractdate;// 合同日期
	private String phone;// 提醒手机号码

	private String carcity;// 所在区域城市
	private String deptname;// 所属租赁分店
	private String carremark;// 车辆信息
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date insurancetime1;// 保险时间
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date yearcheck1;// 年检时间
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date maintaintime1;// 保养时间
	private String getdeptAddress;// 取车门店具体位置信息
	private String backdeptAddress;// 还车门店具体位置信息

	public String getCarid() {
		return carid;
	}

	public void setCarid(String carid) {
		this.carid = carid == null ? null : carid.trim();
	}

	public String getCarcode() {
		return carcode;
	}

	public void setCarcode(String carcode) {
		this.carcode = carcode == null ? null : carcode.trim();
	}

	public String getCarcolor() {
		return carcolor;
	}

	public void setCarcolor(String carcolor) {
		this.carcolor = carcolor == null ? null : carcolor.trim();
	}

	public Date getBuydate() {
		return buydate;
	}

	public void setBuydate(Date buydate) {
		this.buydate = buydate;
	}

	public String getEnginenum() {
		return enginenum;
	}

	public void setEnginenum(String enginenum) {
		this.enginenum = enginenum == null ? null : enginenum.trim();
	}

	public String getFramenum() {
		return framenum;
	}

	public void setFramenum(String framenum) {
		this.framenum = framenum == null ? null : framenum.trim();
	}

	public String getCartype() {
		return cartype;
	}

	public void setCartype(String cartype) {
		this.cartype = cartype == null ? null : cartype.trim();
	}

	public String getCarbrand() {
		return carbrand;
	}

	public void setCarbrand(String carbrand) {
		this.carbrand = carbrand == null ? null : carbrand.trim();
	}

	public String getCarbrandtype() {
		return carbrandtype;
	}

	public void setCarbrandtype(String carbrandtype) {
		this.carbrandtype = carbrandtype == null ? null : carbrandtype.trim();
	}

	public String getPicid() {
		return picid;
	}

	public void setPicid(String picid) {
		this.picid = picid == null ? null : picid.trim();
	}

	public Integer getIsauto() {
		return isauto;
	}

	public void setIsauto(Integer isauto) {
		this.isauto = isauto;
	}

	public String getEnginesize() {
		return enginesize;
	}

	public void setEnginesize(String enginesize) {
		this.enginesize = enginesize == null ? null : enginesize.trim();
	}

	public Integer getSeatnum() {
		return seatnum;
	}

	public void setSeatnum(Integer seatnum) {
		this.seatnum = seatnum;
	}

	public String getFacetype() {
		return facetype;
	}

	public void setFacetype(String facetype) {
		this.facetype = facetype == null ? null : facetype.trim();
	}

	public Double getTotalmile() {
		return totalmile;
	}

	public void setTotalmile(Double totalmile) {
		this.totalmile = totalmile;
	}

	public Integer getHadillegal() {
		return hadillegal;
	}

	public void setHadillegal(Integer hadillegal) {
		this.hadillegal = hadillegal;
	}

	public String getInsurer() {
		return insurer;
	}

	public void setInsurer(String insurer) {
		this.insurer = insurer == null ? null : insurer.trim();
	}

	public Date getInsurancetime() {
		return insurancetime;
	}

	public void setInsurancetime(Date insurancetime) {
		this.insurancetime = insurancetime;
	}

	public Date getYearcheck() {
		return yearcheck;
	}

	public void setYearcheck(Date yearcheck) {
		this.yearcheck = yearcheck;
	}

	public Date getMaintaintime() {
		return maintaintime;
	}

	public void setMaintaintime(Date maintaintime) {
		this.maintaintime = maintaintime;
	}

	public Double getMaintainmile() {
		return maintainmile;
	}

	public void setMaintainmile(Double maintainmile) {
		this.maintainmile = maintainmile;
	}

	

	public Integer getHadaccident() {
		return hadaccident;
	}

	public void setHadaccident(Integer hadaccident) {
		this.hadaccident = hadaccident;
	}

	public Integer getIsbadrepair() {
		return isbadrepair;
	}

	public void setIsbadrepair(Integer isbadrepair) {
		this.isbadrepair = isbadrepair;
	}

	public Integer getIsfakemile() {
		return isfakemile;
	}

	public void setIsfakemile(Integer isfakemile) {
		this.isfakemile = isfakemile;
	}

	public Integer getSafelevel() {
		return safelevel;
	}

	public void setSafelevel(Integer safelevel) {
		this.safelevel = safelevel;
	}

	public Double getCarprice() {
		return carprice;
	}

	public void setCarprice(Double carprice) {
		this.carprice = carprice;
	}

	public String getEvaluater() {
		return evaluater;
	}

	public void setEvaluater(String evaluater) {
		this.evaluater = evaluater == null ? null : evaluater.trim();
	}

	public Integer getCarstate() {
		return carstate;
	}

	public void setCarstate(Integer carstate) {
		this.carstate = carstate;
	}

	public String getDeptname() {
		return deptname;
	}

	public void setDeptname(String deptname) {
		this.deptname = deptname == null ? null : deptname.trim();
	}

	public Date getAddtime() {
		return addtime;
	}

	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Date getContractdate() {
		return contractdate;
	}

	public void setContractdate(Date contractdate) {
		this.contractdate = contractdate;
	}

	public String getCarremark() {
		return carremark;
	}

	public void setCarremark(String carremark) {
		this.carremark = carremark == null ? null : carremark.trim();
	}

	public String getCarcity() {
		return carcity;
	}

	public void setCarcity(String carcity) {
		this.carcity = carcity == null ? null : carcity.trim();
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone == null ? null : phone.trim();
	}

	public double getDayprice() {
		return dayprice;
	}

	public void setDayprice(double dayprice) {
		this.dayprice = dayprice;
	}

	public double getBasicinsure() {
		return basicinsure;
	}

	public void setBasicinsure(double basicinsure) {
		this.basicinsure = basicinsure;
	}

	public double getTotalprice() {
		return totalprice;
	}

	public void setTotalprice(double totalprice) {
		this.totalprice = totalprice;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getClientid() {
		return clientid;
	}

	public void setClientid(String clientid) {
		this.clientid = clientid;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public Date getInsurancetime1() {
		return insurancetime1;
	}

	public void setInsurancetime1(Date insurancetime1) {
		this.insurancetime1 = insurancetime1;
	}

	public Date getYearcheck1() {
		return yearcheck1;
	}

	public void setYearcheck1(Date yearcheck1) {
		this.yearcheck1 = yearcheck1;
	}

	public Date getMaintaintime1() {
		return maintaintime1;
	}

	public void setMaintaintime1(Date maintaintime1) {
		this.maintaintime1 = maintaintime1;
	}

	public String getGetdeptAddress() {
		return getdeptAddress;
	}

	public void setGetdeptAddress(String getdeptAddress) {
		this.getdeptAddress = getdeptAddress;
	}

	public String getBackdeptAddress() {
		return backdeptAddress;
	}

	public void setBackdeptAddress(String backdeptAddress) {
		this.backdeptAddress = backdeptAddress;
	}

	public void setHadillegal(int hadillegal) {
		this.hadillegal = hadillegal;
	}

	public void setMaintainmile(double maintainmile) {
		this.maintainmile = maintainmile;
	}

	public void setHadaccident(int hadaccident) {
		this.hadaccident = hadaccident;
	}

	public void setIsbadrepair(int isbadrepair) {
		this.isbadrepair = isbadrepair;
	}

	public void setIsfakemile(int isfakemile) {
		this.isfakemile = isfakemile;
	}

	public void setSafelevel(int safelevel) {
		this.safelevel = safelevel;
	}

	public void setCarprice(double carprice) {
		this.carprice = carprice;
	}

	public void setCarstate(int carstate) {
		this.carstate = carstate;
	}

	public Cars() {
		
	}
	
	

}